﻿/// <reference path="../GeneratedArtifacts/viewModel.js" />

myapp.Entity.created = function (entity) {
    // Write code here.
    entity.Created = new Date();
    entity.Modified = new Date();
    entity.Version = 1;
};